POV-Ray : Newsgroups : moray.win : Advice on Physical Light Sources : Re: Advice on Physical Light Sources Server Time
28 Jul 2024 20:30:34 EDT (-0400)
  Re: Advice on Physical Light Sources  
From: Karl Pelzer
Date: 19 Feb 2000 09:22:32
Message: <38ADE8BD.EB368F4B@t-online.de>
Bob Hughes wrote:
> 
> The usual way is like:
> 
> #declare Brightness=.75;
> 
> #declare VisibleLight=
>  sphere {0,1 scale <1,1,.5> pigment {rgbf <1,1,.95,.75>}
>   normal {granite .05 scale .05}
>    finish {ambient <1,1,.95> phong .5 phong_size 1}
>   interior {ior 1.5 caustics 1 fade_distance .75 fade_power 2}
>  }
> 
>  light_source {<0,0,0>,<1,1,.95>*Brightness
>   looks_like {VisibleLight}
>    fade_distance 3 fade_power 1
>  }
> 
> Then the object used is already implied to have 'no_shadow'; a texture can also
> show up if you want.
> 
> Bob

Yo Bob!
That's the way I prefer it. But ASFAIK 'looks_like' is not supported in
Moray 3.2. (Hi Lutz. FEATURE REQUEST!)

Karl


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.